// 用户登录的动作
export const LOGIN_USER_REQUEST = 'LOGIN_USER_REQUEST';
export const LOGIN_USER_FAILURE = 'LOGIN_USER_FAILURE';
export const LOGIN_USER_SUCCESS = 'LOGIN_USER_SUCCESS';
export const LOGOUT_USER = 'LOGOUT_USER';

// 清除错误信息
export const CLEAR_ERROR = 'CLEAR_ERROR';

// 用户注册的动作
export const REGISTER_USER_REQUEST = 'REGISTER_USER_REQUEST';
export const REGISTER_USER_FAILURE = 'REGISTER_USER_FAILURE';
export const REGISTER_USER_SUCCESS = 'REGISTER_USER_SUCCESS';

// 用户重置密码
export const CONFIRM_USER_REQUEST = 'CONFIRM_USER_REQUEST';
export const CONFIRM_USER_FAILURE = 'CONFIRM_USER_FAILURE';
export const CONFIRM_USER_SUCCESS = 'CONFIRM_USER_SUCCESS';
export const RESET_USER_REQUEST = 'RESET_USER_REQUEST';
export const RESET_USER_FAILURE = 'RESET_USER_FAILURE';
export const RESET_USER_SUCCESS = 'RESET_USER_SUCCESS';

// 用户获取验证码
export const GET_CODE_REQUEST = 'GET_CODE_REQUEST';
export const GET_CODE_FAILURE = 'GET_CODE_FAILURE';
export const GET_CODE_SUCCESS = 'GET_CODE_SUCCESS';
export const GET_CODE_OVER_TIME = 'GET_CODE_OVER_TIME';

// Layouts
// 修改主题色彩
// 开启tabs页面
export const CHANGE_THEME = 'CHANGE_THEME';
export const OPEN_LAYOUTS_DIALOG = 'OPEN_LAYOUTS_DIALOG';
export const CLOSE_LAYOUTS_DIALOG = 'CLOSE_LAYOUTS_DIALOG';
export const OPEN_LAYOUTS_SNACKBAR = 'OPEN_LAYOUTS_SNACKBAR';
export const CLOSE_LAYOUTS_SNACKBAR = 'CLOSE_LAYOUTS_SNACKBAR';
export const TRIGGER_LAYOUTS_DRAWER = 'TRIGGER_LAYOUTS_DRAWER';
export const WINDOW_WIDTH_CHANGE = 'WINDOW_WIDTH_CHANGE';

// 用户基本信息
export const USER_PROFILE = 'USER_PROFILE';

// 通知（包括私信通知）
export const GET_INIT_NOTIFICATION = 'GET_INIT_NOTIFICATION';
export const CLEAR_NOTIFICATION = 'CLEAR_NOTIFICATION';
export const ADD_NOTIFICATION = 'ADD_NOTIFICATION';

// 好友私信
export const OPEN_MESSAGE_DIALOG = 'OPEN_MESSAGE_DIALOG';
export const CLOSE_MESSAGE_DIALOG = 'CLOSE_MESSAGE_DIALOG';